package com.sharding.biz.dao;


import com.sharding.biz.entity.OrderEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderEntityMapper {
    int insert(OrderEntity record);

    int insertSelective(OrderEntity record);

    List<OrderEntity> selectByOrder(OrderEntity record);

    OrderEntity selectByOrderId(Long orderId);


    int updateByOrderIdSelective(OrderEntity record);

    int updateByPrimaryKeySelective(OrderEntity record);

    int deleteByOrderId(Long userId,Long orderId);
}